package lec04.pm.gm.v2;

public class TestLine {
	public static void main(String[] args) {
		Point p = new Point();
		Point q = new Point(12, 5);
		Point r = new Point(12, 0);
		Line line = new Line(p, q);
		double dis = r.getDistance(line);
		System.out.println(dis);
		Line line2=new Line(q,new Point(24,10));
		System.out.println(line.equals(line2));
		

	}
}
